package pers.wy.sell.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import pers.wy.sell.domain.ProductCategory;

import java.util.List;

/**
 * @Author: 月落
 * @Date: Created in 14:59 2018/9/4
 */
public interface ProductCategoryDao extends JpaRepository<ProductCategory, Integer> {

    /**
     * 查询商品类目
     *
     * @param categoryTypeList
     * @return
     */
    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);

}
